#ifndef EtatEnCharge_h
#define EtatEnCharge_h

#include "EtatEnRoute.h"
#include <sstream>

class Robot;
class Obstacle;

class EtatEnCharge: public EtatEnRoute {
private:
	EtatEnCharge() {
	}
public:
	void avancer();
	void rencontrerObstacle(Robot*);
	int peser();
	void poser(Robot*);
	static EtatEnCharge* getEtat() {
		static EtatEnCharge etat = EtatEnCharge();
		return &etat;
	}
};

#endif
